<template>
    <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/layout' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>{{level1}}</el-breadcrumb-item>
        <el-breadcrumb-item>{{level2}}</el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script>
export default {
    name: 'crumbsNav',
    props:['level1','level2'],
    data(){
        return {
        }
    }  
}
</script>

<style scoped>
    .el-breadcrumb{
        height: 50px;
        line-height: 50px;
        padding-left:10px;
        background-color: #aaa;
    }
</style>
